import request from '@/utils/request'

//为用户分配角色
export const assignRoles = (assignRoleDTO) => request.post('/user-role/assign', assignRoleDTO)
  
  
  //获取用户的角色信息
export const getUserRoles = (userId) => request.get(`/user-role/${userId}`)
